package org.activequant.util.tools;

import java.util.TreeMap;

import org.activequant.core.domainmodel.InstrumentSpecification;
import org.activequant.core.domainmodel.data.Quote;

/**
 * 
 * a simple rate sheet stub. This class simply extends treemap and 
 * can be used for your convenience, at a later stage this class could receive 
 * some additional functionality, i.e. to store a history of the last ten quotes, etc. <br>
 * <br>
 * <b>History:</b><br>
 *  - [22.12.2007] Created (Ulrich Staudinger)<br>
 *
 *  @author Ulrich Staudinger
 */
public class RateSheet extends TreeMap<InstrumentSpecification, Quote> {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	/**
	 * puts a quote into the quote sheet. 
	 * @param quote
	 */
	public void put(Quote quote){
		super.put(quote.getInstrumentSpecification(), quote);
	}
	
}
